package com.itcast.dao;

import com.itcast.domain.User;

import java.util.List;

public interface UserDao {
    List<User> findAll();
    void saveUserRoleRel(Long userId, Long[] roleIds);
    Long save(final User user);
    void delUserRoleRel(Long userId);
    void del(Long userId);
}
